package kr.hkit.powerjava.chapter11;

public class Boy extends Parents {
	public int num;
	public int point;
	
	public Boy() {}
	
	public Boy(int num, int point) {
		this.num = num;
		this.point = point;
	}

	public Boy(String name, String add, String call, int num, int point) {
		super(name, add, call);
		this.num = num;
		this.point = point;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	@Override
	public String toString() {
		return String.format(
				"Boy [회원번호=%s, 마일리지=%s, 이름=%s, 주소=%s, 전화번호=%s]", num, point,
				name, add, call);
	}
	
}
